package com.howie.parnote.dao.common;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by HY on 2014/12/9 0009.
 */
public interface ApplicationBaseDaoIntf<T> {
	int deleteByPrimaryKey(Integer moduleId);

	int insert(T record);

	int insertSelective(T record);

	T selectByPrimaryKey(Integer moduleId);

	int updateByPrimaryKeySelective(T record);

	int updateByPrimaryKey(T record);

	List<T> select();

	List<T> select(@Param("offset") int offset, @Param("limit") int limit);
}
